Skip to content

Load .env at CLI startup#3

Open
hiskuDN wants to merge 1 commit into
JailbrokenAI:mainfrom
hiskuDN:fix/load-dotenv
Open

Load .env at CLI startup#3
hiskuDN wants to merge 1 commit into
JailbrokenAI:mainfrom
hiskuDN:fix/load-dotenv

Conversation

@hiskuDN

@hiskuDN hiskuDN commented Jul 9, 2026

Copy link
Copy Markdown

.env.example is shipped but load_dotenv() was never called, so keys placed in .env were silently ignored. This loads it once in main() and declares python-dotenv as an explicit dependency (previously only transitive).

Wallbreaker shipped .env.example but never called load_dotenv, so API keys
placed in .env were ignored and had to be exported into the shell. Call it
once in main() and declare python-dotenv as an explicit dependency rather
than relying on it transitively.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants